﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<t_205_verk_hopur_12.Models.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%= Html.Encode(Model.Username) %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MenuBar" runat="server">
    <% Html.RenderPartial("MenuBar"); %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Html.Encode(Model.Username) %></h2>
                
        <div class="display-label">Tölvupóstur</div>
        <div class="display-field"><%= Html.Encode(Model.Email) %></div>
        <div class="clear"></div>
        
        <div class="display-label">Aldur</div>
        <div class="display-field"><%= Html.Encode(Model.Age) %></div>
        <div class="clear"></div>
        
        <div class="display-label">Kyn</div>
        <%if (Model.Gender == true)
           { %>
                <div class="display-field">Karl</div>
        <% } %>
        <% else
           { %>
                 <div class="display-field">Kona</div>
        <% } %>
        <div class="clear"></div>


</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LogoText" runat="server">
</asp:Content>

